<template>
  <div id="banner">
    <div class="bg-img">
      <img :src='hp' width="100%"/>
    </div>
    <nav-bar></nav-bar>
  </div>
</template>

<script>
import NavBar from './Banner/Nav'
import hp from '../assets/images/homepage.png'
export default {
  name: 'banner',
  data () {
    return {
      hp: hp
    }
  },
  components: {
    NavBar
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
#banner{
  width: 100%;
  height: auto;
}
.bg-img{
  width: 100%;
  height: auto;
}
</style>
